Connectivity Software User's Guide and Reference
Satisfies(UADataSetSubscriptionDescriptor,Boolean,Boolean,Boolean,Boolean,List<String>) Method



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > UADataSetData Class > Satisfies Method : Satisfies(UADataSetSubscriptionDescriptor,Boolean,Boolean,Boolean,Boolean,List<String>) Method
The dataset subscription descriptor containing the requirements to check against.

The value of this parameter cannot be null (Nothing in Visual Basic).

Indicates whether the message can potentially be a data message.
Indicates whether the message can potentially be an event message.
Returns true if the message is accepted as a data message.
Returns true if the message is accepted as an event message.
Returns a list of annotations explaining which requirements were not satisfied.

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Determines whether this dataset data satisfies the requirements specified in a dataset subscription descriptor, providing annotations.
Syntax
'Declaration
 
Public Overloads Function Satisfies( _
   ByVal dataSetSubscriptionDescriptor As UADataSetSubscriptionDescriptor, _
   ByVal canBeDataMessage As Boolean, _
   ByVal canBeEventMessage As Boolean, _
   ByRef isDataMessage As Boolean, _
   ByRef isEventMessage As Boolean, _
   ByRef annotationList As List(Of String) _
) As Boolean
'Usage
 
Dim instance As UADataSetData
Dim dataSetSubscriptionDescriptor As UADataSetSubscriptionDescriptor
Dim canBeDataMessage As Boolean
Dim canBeEventMessage As Boolean
Dim isDataMessage As Boolean
Dim isEventMessage As Boolean
Dim annotationList As List(Of String)
Dim value As Boolean
 
value = instance.Satisfies(dataSetSubscriptionDescriptor, canBeDataMessage, canBeEventMessage, isDataMessage, isEventMessage, annotationList)

Parameters

dataSetSubscriptionDescriptor
The dataset subscription descriptor containing the requirements to check against.

The value of this parameter cannot be null (Nothing in Visual Basic).

canBeDataMessage
Indicates whether the message can potentially be a data message.
canBeEventMessage
Indicates whether the message can potentially be an event message.
isDataMessage
Returns true if the message is accepted as a data message.
isEventMessage
Returns true if the message is accepted as an event message.
annotationList
Returns a list of annotations explaining which requirements were not satisfied.

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Return Value

true if this dataset data satisfies all requirements in the descriptor; otherwise, false.
Remarks

This overload provides diagnostic information through the annotationList parameter, which contains details about why the dataset does or doesn't satisfy the requirements.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also